a {
  text-decoration: none;
}

a:visited {
  color: #666;
}

html {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

body {
  height: 100%;
  width: 100%;
  margin: 0px;
  background-image: url('img/BG-body.png');
  background-repeat: repeat;
}

#big-map {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  z-index: 0;
}

#small-map {
  width: 560px;
  height: 400px;
  padding: 0px;
  margin: 0px;
  z-index: 1;
}

/* horizontal panel */
#h-panel {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 57px;
  color: #333;
  background-image: url('img/BG-h-panel.png');
  background-repeat: repeat-x;
  z-index: 1;
  display:inline;
}

#h-wrapper {
  width: 800px;
  position: absolute;
  left: 50%;
  margin: 0 0 0 -400px;
}

#logo {
  position: relative;
  top: 1px;
  left: 10px;
}

#search-bar {
  position: relative;
  top: -40px;
  left: 200px;
} 

#weather {
  position: relative;
  top: 5px;
  left: 30%;
  display:inline;
}

#account {
  position: absolute;
  top: -5px;
  right: 20px;
  float: right;
  color: #fff;
  font-weight: bold;
  z-index: 2;
}

#register, #signin {
  width: auto;
  height: 36px;
  padding-top: 7px;
  padding-left: 48px;
  padding-right: 30px;
  background-image: url('img/BG-account-hide.png');
  background-repeat: no-repeat;
}

#signin {
  position: absolute;
  top: 10px;
  right: 0px;
  margin-left: 40px;
}

#register {
  position: absolute;
  top:10px;
  right: 116px;
}

#signout {
  height: 36px;
  width: auto;
  position: absolute;
  top: 11px;
  right: 0px;
  padding-top: 7px;
  padding-left: 48px;
  padding-right: 20px;
  background-image: url('img/BG-account-out.png');
  background-repeat: no-repeat;
}                             

#wrapper {
  width: 800px;
  height: auto;
  position: absolute;
  top: 15px;
  left: 50%;
  margin: 0 0 0 -400px;
}

/* vertical panel */
#v-panel {
  position: absolute;
  top: 60px;
  left: 10px;
  width: 60px;
  min-height: 240px;
  height: auto;
  z-index: 1;
}

#people {
  width: 60px;
  height: 60px;
  border: 1px solid #37abc8;
}

#info {
  position: relative;
  top: 10px;
  border-radius: 3px;
  background-color: #37abc8;
  width: 60px;
  min-height: 200px;
  height:auto;
  border: 1px solid #fff;
  border-radius: 8px;
  z-index: 1;
}

#switch {
  position: relative;
  top: 20px;
  width: 64px;
  height: 64px;
  background-image: url('img/BG-button.png');
  background-repeat: no-repeat;
  z-index: 1;
}

#switch img {
  position: relative;
  top: 12px;
  left: 12px;
}

/* home botton */
#home {
  position: relative;
  top: 25px;
  width: 60px;
  height: 60px;
  z-index: 1;
  background-image: url('img/BG-button.png');
  background-repeat: no-repeat;
}                    

#home img {
  position: relative;
  top: 10px;
  left: 12px;
}               

#main {
  position: absolute;
  top: 60px;
  left: 78px;
  width: 740px;
  height: auto;
  color: #333333;
  background-color: #f9f9f9;
  overflow:auto;
  z-index: 1;
  border-top-right-radius: 8px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 5px;
  border: 1px solid #2c89a0;
}

#text-content p {
  margin: 5px 8px;
}

#footer {
  width: 100%;
  height: 20px;
  position: relative;
  top: 10px;
  left: 0px;
  z-index: 1;
  background-color: #ececec;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 8px;
}

#ads {
  position: absolute;
  z-index: 1;
  position: fixed;
  top: 60px;
  right: 0px;
  min-width: 120px;
  max-width: 200px; 
  min-height: 600px;
  height: auto;
  background-color: #afdde9;
  border-top-left-radius:8px;
  border-top-rigth-radius: 3px;
  border-bottom-left-radius:8px;
  border-bottom-right-radius:3px;
  border: 1px solid #f9f9f9;
}

#commercial, #public {
  z-index: 2;
}
